package cn.eshore.bnet.bpm.dto.ext;

/**
 * 用于在ws接口中传递流程参数
 * 
 * @author zhoujinhuang
 */
public class ProcessParam {
    public ProcessParam(String _key, Object _value) {
        key = _key;
        value = _value;
    }

    private String key;

    private Object value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public boolean isValidate() {
        if ((key != null) && value != null) {
            return true;
        }
        return false;
    }
}
